package com.itheima.mapper;

import com.itheima.pojo.SetmealDishes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :WuJunJie
 * packageName :com.itheima.mapper
 * fileName :SetMealDishesMapper
 * creationTime :2022-11-24 20:20
 */
@Mapper
public interface SetmealDishesMapper {

    Integer insertListSetMealDishea(@Param("setmealDishes") List<SetmealDishes> setmealDishes);

    List<SetmealDishes> selectBySetmealId(@Param("setmealId") String id);

    Integer deleteBySetmealId(@Param("setmealId") String setmealId);

    Integer deleteBySetmealIds(@Param("setmealIds") List<String> setmealIds);

    List<SetmealDishes> selectByDishIds(@Param("ids") List<String> ids);
}
